  <div style="line-height:1.3;color:#262626;font-size:12px;font-family:Arial,Helvetica,sans-serif">
    <div style="word-wrap:break-word">
      <div style="color:rgb(0,0,0);font-family:Arial;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
        <div style="text-align:center"><b style="font-size:24px">QSI ACTIVE EMPLOYEE LIST</b></div>
        <div style="font-weight:normal;font-size:medium;text-align:center"><?=Date('d/m/Y')?> at <?=Date('g:ia')?></div>
        <div style="font-weight:normal;font-size:medium;text-align:center">
          <hr></div>
      </div>
      <?php foreach($record as $key => $value):?>
      <div style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div>
      <div style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
        <div style="width:150px;height:160px;float: left;margin-right: 10px;">
          <img width="150px" src="<?=getImageBySize($value['image'],150,150)?>"/>
        </div>
        <div>
          <strong><?=$value['firstname'].' '.$value['lastname'].' ('.$value['empno'].')'?></strong>
        </div>
        <div>
          <?=$value['title']?>
        </div>
        <br />
        <div>
          Email: <?=$value['workemail']?>
        </div>
        <div>
          Cell: <?=$value['workcell']?>
        </div>
        <br /></div>
      <div style="clear: both;color:rgb(0,0,0);font-family:Arial;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div>
      <div style="color:rgb(0,0,0);font-family:Arial;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<hr>
<br></div>
      <?php endforeach; ?>
    </div>
  </div>